#ifndef UI_UTILS_H
#define UI_UTILS_H

#ifdef __cplusplus
extern "C" {
#endif

#include <windows.h>

typedef struct STPoint STPoint;
struct STPoint {
    int x;
    int y;
};

typedef struct STRect STRect;
struct STRect {
    STPoint p;
    int width;
    int height;
};

RECT STRectToRECT(const STRect *stRect);
STRect RECTToSTRect(const RECT *rect);

#ifdef __cplusplus
}
#endif

#endif
